﻿#include "cxiframedesigner.h"
#include <controls/frame/cxiframe.h>
CxiFrameDesigner::CxiFrameDesigner(QObject* parent)
	: CxiDesignerBase(parent)
{
	d_name = "CxiFrame";
	d_include = "controls/frame/cxiframe.h";
	d_domXml =
			"<widget class=\"CxiFrame\" name=\"cxiFrame\">\n"
			" <property name=\"geometry\">\n"
			"  <rect>\n"
			"   <x>0</x>\n"
			"   <y>0</y>\n"
			"   <width>120</width>\n"
			"   <height>80</height>\n"
			"  </rect>\n"
			" </property>\n"
			" <property name=\"frameShape\">\n"
			"  <enum>QFrame::StyledPanel</enum>\n"
			" </property>\n"
			" <property name=\"frameShadow\">\n"
			"  <enum>QFrame::Raised</enum>\n"
			" </property>\n"
			"</widget>\n";
}
QWidget* CxiFrameDesigner::createWidget(QWidget* parent)
{
	return new CxiFrame(parent);
}
bool CxiFrameDesigner::isContainer() const
{
	return true;
}
